<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"  %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<base href="<%=basePath%>" />
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
		<link rel="shortcut icon" href="images/icon/${his.favicon}" />
		<title>${his.hospitalName}-我看过的病人</title>
		<link href="style/css.css" rel="stylesheet" type="text/css" />
		<script src="js/jquery.js"></script>
		<script>
			function fz(){
				var ws = $("#wsearch").val();
				$("#search").val(ws);
			}
			function qz(){
				var sea = $("#search").val();
				$("#wsearch").val(sea);
			}
		</script>
	</head>

	<body>


		<!-- Copyright ?2005. Spidersoft Ltd -->
		<style>
A.applink:hover {
	border: 2px dotted #DCE6F4;
	padding: 2px;
	background-color: #ffff00;
	color: green;
	text-decoration: none
}

A.applink {
	border: 2px dotted #DCE6F4;
	padding: 2px;
	color: #2F5BFF;
	background: transparent;
	text-decoration: none
}

A.info {
	color: #2F5BFF;
	background: transparent;
	text-decoration: none
}

A.info:hover {
	color: green;
	background: transparent;
	text-decoration: underline
}
</style>
		<jsp:include page="doctor/doctorTop.jsp"></jsp:include>
		<table width="779" border="0" align="center" cellpadding="0"
			cellspacing="0" style="margin-top: 7px">
			<tr>
				<td width="197" height="500" align="left" valign="top"
					bgcolor="#F6F9FB" class="bgxz_zhong_bk">
					<jsp:include page="doctor/doctorLeft.jsp"></jsp:include>
				</td>
				<td width="11" align="left" valign="top">
					&nbsp;
				</td>
				<td width="567" align="left" valign="top" class="bk">
					<table width="567" border="0" cellpadding="0" cellspacing="0"
						style="margin-bottom: 20px">

						<tr>
							<td height="28" align="center" valign="top" bgcolor="#FFFFFF"
								class="ind_zhong_bj">
								<table width="536" border="0" cellspacing="0" cellpadding="0"
									style="margin-top: 4px; margin-right: 10px; text-align: center">
									<tr>
										<td><a href="disease.do?method=lookPatient"><span  style="color: red;">我看过的病人</span></a></td>
										<td><a href="answer.do?method=questionMy">提问我的</a></td>
										<td><a href="answer.do?method=myAnswer">我回复过的</a></td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td align="left" valign="top" bgcolor="#FFFFFF">
								<table width="535" border="0" cellspacing="0" cellpadding="0"
									style="margin-top: 22px; margin-left: 16px">
									<tr>
													<td width="167" height="31" align="center" valign="middle"
														bgcolor="#EBEFF3" class="hr_bk5">
														所看过的病例
													</td>
													<td width="110" height="31" align="center" valign="middle"
														bgcolor="#EBEFF3" class="hr_bk5">
														看病时间
													</td>
													<td width="87" height="31" align="center" valign="middle"
														bgcolor="#EBEFF3" class="hr_bk5">
														科室
													</td>
													<td width="60" height="31" align="center" valign="middle"
														bgcolor="#EBEFF3" class="hr_bk5">
														病例种类
													</td>
													<td width="126" height="31" align="center" valign="middle"
														bgcolor="#EBEFF3" class="hr_bk5">
														门诊号
													</td>
												</tr>
												<c:forEach items="${patient}" var="dlist">
												<tr>
													<td width="167" height="31" align="center" valign="middle"
														" class="hr_bk5">
														<a style="color: red" href="disease.do?method=diseaseDetails&mycaseid=${dlist.caseid}">${dlist.mainsym}</a>
													</td>
													<td width="110" height="31" align="center" valign="middle"
														 class="hr_bk5">
														${dlist.casetime}
													</td>
													<td width="87" height="31" align="center" valign="middle"
														" class="hr_bk5">
														${dlist.facname}
													</td>
													<td width="60" height="31" align="center" valign="middle"
														 class="hr_bk5">
														${dlist.facname}
													</td>
													<td width="126" height="31" align="center" valign="middle"
														 class="hr_bk5">
														<a style="color: red" href="disease.do?method=diseaseDetails&mycaseid=${dlist.caseid}">${dlist.caseid}</a>
													</td>
												</tr>
												</c:forEach>
								</table>
							</td>
						</tr>
					</table>
					<c:if test="${patient != null}">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td class="STYLE4">
								&nbsp;&nbsp;共有 ${rowCount} 条记录，当前第 ${current}/${pageCount} 页
							</td>
							<td>
								<form action="disease.do?method=lookPatient" method="post">
									<table border="0" align="right" cellpadding="0" cellspacing="0">
										<tr>
											<td width="40">
												<a href="disease.do?method=lookPatient&current=1"> 首页 </a>
											</td>
											<td width="45">
												<a href="disease.do?method=lookPatient&current=${current-1}">
													上一页 </a>
											</td>
											<td width="45">
												<a href="disease.do?method=lookPatient&current=${current+1}">
													下一页 </a>
											</td>
											<td width="40">
												<a href="disease.do?method=lookPatient&current=${pageCount}">
													末页 </a>
											</td>
											<td width="100">
												<div align="center">
													<span class="STYLE1">转到第 <input name="current"
															type="text" size="4"
															onkeypress="if ((event.keyCode<48 || event.keyCode>57)) {event.returnValue=false};
															if(this.value.length > 4){this.value = 10000}"
															style="height: 12px; width: 20px; border: 1px solid #999999;" />
														页 </span>
												</div>
											</td>
											<td width="40">
												<input type="image" src="images/go.gif" width="37"
													height="15" onclick="submit()" />
											</td>
										</tr>
									</table>
								</form>
							</td>
						</tr>
					</table>
					</c:if>
				</td>
			</tr>
		</table>

		<table width="779" height="114" border="0" align="center"
			cellpadding="0" cellspacing="0" style="margin-top: 13px">
			<tr>
				<td height="29" align="center" valign="top" class="ind_bottom_bj">
					<table border="0" cellspacing="0" cellpadding="0"
						style="margin-top: 3px">
					</table>
				</td>
			</tr>
			<tr>
				<td height="85" align="center" valign="top">
					<table border="0" cellpadding="0" cellspacing="0"
						style="margin-top: 5px">
						<tr>
							<td align="center" valign="middle">
								<td align="center" valign="middle">
								<jsp:include page="doctor/yejiao.jsp"></jsp:include>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</body>
</html>
